<?php
header("content-type:text/html;charset=utf-8");
require_once 'shujvku.php';
$conn;

$username = $_POST['username'];
$password = md5(password);
$time_at = time();


$sql ="
  INSERT INTO  `xiaoming`.`u_message` (
`id` ,
`username` ,
`password` ,
`time_at`
)
VALUES (
NULL ,  '$username',  '$password ',  '$time_at'
);
    ";

    //echo $sql;
    //die;

    
    $result = $conn->query($sql);
    header("location:zcbg.php");
   